package VN.EDU.IMIC.DEVELOPER.TRANTHITHANHNGA.OOP.tinhtoan;

public class ControllerCal {
	private Caletity Opt;
	private ModelCal mOpt;

	public ControllerCal(Caletity Opt){
		this.Opt = Opt;
		mOpt = new ModelCal();
	}
	public double CalculatorInfo(){
		if (mOpt.checkA(Opt)){
			if(mOpt.checkB(Opt)){
				if(mOpt.checkOpt(Opt)){
					
					}
				}
			}
		 return mOpt.yieldAnswer(Opt);
		}
		
}
		


